namespace MyRobot.Nodes.Sensors
{
    public abstract class RangeSensor : Sensor
    {
        private PropertyClass _Properties;

        public new class PropertyClass : Sensor.PropertyClass
        {
            public int MinRange;
            public int MaxRange;
            public int FieldOfView;
        }

        public new PropertyClass Properties
        {
            get { return _Properties; }
            set { _Properties = value; }
        }

        public RangeSensor(string Name)
            : base(Name)
        {
            _Properties = new PropertyClass();          
        }
    }
}
